package org.xlh.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.xlh.springboot.config.AppConfig;

@SpringBootApplication
public class Springboot306PropertiesLocationApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext run = SpringApplication.run(Springboot306PropertiesLocationApplication.class, args);
		AppConfig appConfig = run.getBean(AppConfig.class);
		appConfig.getAppPath();
		run.close();
	}

}
